use crate::init::pic::PICS;
use crate::init::idt::InterruptIndex;

pub fn handle_interrupt() {
    unsafe {
        PICS.lock()
            .notify_end_of_interrupt(InterruptIndex::Timer.as_u8());
    }
}
